package com.oolee.cloud.config;


import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {

    /**
     * 配置Feign的日志输出为详细
     * 注意：这里不是日志级别
     * 这里的Logger为feign.Logger
     */
    @Bean
    Logger.Level FeignLogger(){
        return Logger.Level.FULL;
    }
}
